package com.departmentstore.service;

import com.departmentstore.dto.ManufacturerProductDTO;
import com.departmentstore.entity.ManufacturerProduct;
import java.util.List;

public interface ManufacturerProductService {
    // 创建新的制造商产品关联
    ManufacturerProduct createManufacturerProduct(ManufacturerProduct manufacturerProduct);
    
    // 更新制造商产品关联信息
    ManufacturerProduct updateManufacturerProduct(ManufacturerProduct manufacturerProduct);
    
    // 删除制造商产品关联
    void deleteManufacturerProduct(String id);
    
    // 根据ID获取制造商产品关联
    ManufacturerProduct getManufacturerProductById(String id);
    
    // 获取所有制造商产品关联
    List<ManufacturerProductDTO> getAllManufacturerProducts();
    
    // 根据制造商ID获取关联列表
    List<ManufacturerProduct> getManufacturerProductsByManufacturerId(String manufacturerId);
    
    // 根据产品ID获取关联列表
    List<ManufacturerProduct> getManufacturerProductsByProductId(String productId);
    
    // 根据制造商ID和产品ID获取关联
    ManufacturerProduct getManufacturerProductByManufacturerIdAndProductId(String manufacturerId, String productId);
} 